package com.example.article.service;

import com.example.article.entity.ArticleEntity;
import com.example.commonutils.ResultData;

import javax.servlet.http.HttpServletRequest;

public interface ArticleService {
    ResultData saveArticle(ArticleEntity article);
    ResultData getArticleCommentInfo(Integer page, Integer limit, String sort, HttpServletRequest request);

    ResultData getArticleById(String articleId);

    ResultData deleteArticleById(String articleId, HttpServletRequest request);
}
